#pragma once
#include <d3d11.h>
#include <d3dx11.h>
#include <d3dx10.h>
#pragma comment (lib, "d3d11.lib")
#pragma comment (lib, "d3dx11.lib")
#pragma comment (lib, "d3dx10.lib")
#include <stdio.h>
namespace D3D{
	// Test for result error
	inline void CheckResult(HRESULT hr){
		if(hr != S_OK)
			printf("Failed [%x]\n", hr);
	}
}